package cn.itcast.entity;

import cn.itcast.anno.PrimaryKey;

public class Admin {

	@PrimaryKey(primaryKey="id")
	private int id;
	private String adminName;
	private String pwd;

	public Admin() {}

	public Admin(int id, String adminName, String pwd) {
		this.id = id;
		this.adminName = adminName;
		this.pwd = pwd;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

}
